<%--
  Created by IntelliJ IDEA.
  User: 徐志清
  Date: 2019/4/26
  Time: 17:02
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String path = request.getScheme()+"://"+request.getServerName()+request.getContextPath()+"/";
%>
<c:set value="<%=path%>" var="path" scope="page"/>
<script>
    var path="${path}";
</script>